<%--
  Created by IntelliJ IDEA.
  User: sunset
  Date: 2021/6/6
  Time: 9:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改客户</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>

<div class="container">

    <div class="row-clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改客户</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/client/updateClient" method="Post">
        <!--前端传递隐藏域-->
        <input type="hidden" name="id" value="${getClient.id}">

        <div class="form-group">
            <label>客户名称</label>
            <input style="width: 25%" type="text" name="name" class="form-control " value="${getClient.name}" required>
        </div>

        <div class="form-group">
            <label>电话</label>
            <input style="width: 25%" type="text" name="phone" class="form-control " value="${getClient.phone }" required>
        </div>
        <div class="form-group">
            <label>地址</label>
            <input style="width: 25%" type="text" name="address" class="form-control " value="${getClient.address }"  required>
        </div>
        <div class="form-group">
            <label>邮箱</label>
            <input style="width: 25%" type="text" name="email" class="form-control " value="${getClient.email }"  required>
        </div>
        <div class="form-group">
            <input style="width: 10%" type="submit" class="form-control " value="修改">
        </div>
    </form>

</div>

</body>
</html>
